package com.daka.service;

import com.daka.entity.Welfare;

import java.util.List;

/**
 * @author beliveli on 2016/4/6 0006.
 */
public interface WelfareService {

    Welfare selectById(Long id);

    List<Welfare> selectAll();

    List<Welfare> selectByPage(String code ,Integer status,  String name, Integer pageIndex,  Integer pageSize);

    int selectCountByPage(String code ,Integer status,  String name, Integer pageIndex,  Integer pageSize);

    List<Welfare> selectByParam(String code, String key);

    Welfare save(Welfare topic);

    int updateById(Welfare topic);
}
